#include "uart_driver.h"
#include "uart.h"

void uart_send_data(UART_HandleTypeDef *huart,uint8_t *data,uint8_t data_len)
{
    R_485_WRITE_EN;
    HAL_UART_Transmit(huart,data,data_len,MAX_WAIT_TIME);
    R_485_WRITE_UN;
}

